require.config({
	baseUrl : "/${appName}/static",
	
	shim : {
		'backbone' : {
			deps : [ 'underscore', 'jquery' ],
			exports : 'Backbone'
		},
		'marionette' : {
			deps : [ 'backbone','underscore', 'jquery' ],
			exports : 'Marionette'
		},
		
		'underscore' : {	
			exports : '_'
		},
		
		'underscoreBase' : {
			deps : [ 'underscore' ],
			exports : '_'
		},

		'bootstrap' : {
			deps : [ 'jquery' ],
			exports : 'Bootstrap'
		},
	},

	paths : {
		app : "js/${domainClass}/app",
		vent : "js/${domainClass}/vent",
		collections : "js/${domainClass}/collections",
		models : "js/${domainClass}/models",
		views : "js/${domainClass}/views",
		jquery : "http://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min",
		backbone : "http://cdnjs.cloudflare.com/ajax/libs/backbone.js/1.1.0/backbone-min",
		marionette : "http://cdnjs.cloudflare.com/ajax/libs/backbone.marionette/1.4.0-bundled/backbone.marionette.min",
		bootstrap: "http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.1.1/js/bootstrap.min",
		underscore: "http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.5.2/underscore-min",
		underscoreBase : "js/lib/underscore-base",
	}
});

require([ 'app'], function(${domainClass}App) {

	${domainClass}App.start();
});
